<?php
	class models_tkkhachhang extends connect{
		function _listKhachHang($value){
			$sql = "SELECT TenKH, DiaChi, SDT
					FROM khachhang
					WHERE DiaChi LIKE '$value'";
			$this->query_db($sql);
			return $this->fetchAll();
		}
		function _listHangTon(){
			$sql = "SELECT MaMH, SoLuongNhap, SoLuongBan
					FROM hangton";
			$this->query_db($sql);
			return $this->fetchAll();
		}
	}
?>